package jwdt.xadmin.rskq.bean;

import jwdt.xadmin.system.bean.TUser;

import com.ezerg.db.Jdb;
import com.ezerg.db.annotation.Column;
import com.ezerg.db.annotation.Table;

@Table(name="t_kq_dj", keys={"id"}, comment="")
public class TKqdj implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	@Column(value="id", comment="")
	private String id;
	
	@Column(value="userid", comment="登录用户名")
	private Integer userid;

	@Column(value="recorddate", comment="登记日期")
	private String recorddate;
	
	@Column(value="signdatetime1", comment="上班时间")
	private String signdatetime1;
	
	@Column(value="signdatetime2", comment="下班时间")
	private String signdatetime2;
	
	@Column(value="bz", comment="备注")
	private String bz;

	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getUserid() {
		return userid;
	}

	public String getUserfullname() {
		TUser user = (TUser)Jdb.get().get(TUser.class, userid);
		if(user == null) {
			return "";
		} else {
			return user.getFullname();
		}
	}
	
	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getRecorddate() {
		return recorddate;
	}

	public void setRecorddate(String recorddate) {
		this.recorddate = recorddate;
	}

	public String getSigndatetime1() {
		return signdatetime1;
	}

	public void setSigndatetime1(String signdatetime1) {
		this.signdatetime1 = signdatetime1;
	}

	public String getSigndatetime2() {
		return signdatetime2;
	}

	public void setSigndatetime2(String signdatetime2) {
		this.signdatetime2 = signdatetime2;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}


}
